package com.ant.storage.service;

import com.ant.storage.common.ResultVo;
import com.ant.storage.dto.ContractDto;
import com.ant.storage.excel.ContractExcel;
import com.ant.storage.pojo.StorageContract;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author melon
 * @since 2024-05-08
 */
public interface IStorageContractService extends IService<StorageContract> {



    PageInfo<StorageContract> queryList(ContractDto dto);

    StorageContract findContractById(Integer id);

    ResultVo contractSave(StorageContract dto);

    ResultVo contractUpdate(StorageContract dto);

    List<ContractExcel> exportCensus(Integer isRecycle);

    ResultVo uploadCommodity(MultipartFile file);
}
